Ensure that you are using original default.ide, otherwise the game crashes when
you're about to aim the AK-47 (MM118 AK)

First, with SparkIV, export your WEAPONS.ivaud from resident.rpf (find it in
pc\audio\Sfx). Open the WEAPONS.ivaud with GTA IV-aud and import MM118 AK.wav
to here:

AK47_SHOT1_L
AK47_SHOT1_R

Save once done and import back to resident.rpf, Save and close.

Now install this WeaponInfo to AK47 line:

	<weapon type="AK47">
		<data slot="RIFLE" firetype="INSTANT_HIT" damagetype="BULLET" group="RIFLE_ASSAULT" targetrange="30.0" weaponrange="500" clipsize="45" ammomax="450" timebetweenshots="100">
			<damage base="50" networkplayermod="2.0" networkpedmod="1.0"/>
			<physics force="50.0"/>
			<reload time="2066" fasttime="1166" crouchtime="2066"/>

			<aiming accuracy="0.565">
				<offset x="0.16" y="1.0" z="0.55"/>
				<crouchedoffset x="0.1" y="1.0" z="0.12"/>
				<reticule standing="0.6" ducked="0.5" scale="0.23"/>
			</aiming>

			<pickup regentime="480000" ammoonstreet="100"/>

			<controller>
				<rumble duration="120" intensity="0.4"/>
			</controller>

			<flags>
				<flag>GUN</flag>
				<flag>CAN_AIM</flag>
				<flag>2HANDED</flag>
				<flag>ANIM_RELOAD</flag>
				<flag>CAN_FREE_AIM</flag>
				<flag>ANIM_CROUCH_FIRE</flag>
			</flags>
		</data>

		<assets model="w_ak47">
			<anim group="gun@ak47">
				<rates firerate="1.71" blindfirerate="1.71"/>
			</anim>
			<effects>
				<muzzle fx="muz_machine"/>
				<shell fx="weap_ejected_rifle"/>
			</effects>
		</assets>
	</weapon>
